package com.zcckj.demo.storage.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * <p>
 *  库存扣减DTO
 * </p>
 *
 * @author zhangjie
 * @since 2019-08-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReduceStockDTO implements Serializable{
    private static final long serialVersionUID = 272158404444582645L;
    /** 商品id*/
    private Long productId;
    /** 扣减库存数量*/
    private Integer amount;
}
